package com.example.design.factory.version7;

/**
 * 工厂方法设计模式创建
 */
public class TserSender {
    public static void main(String[] args) {
        QQproducer qQproducer=new QQproducer();
        Sender sender= qQproducer.createSend();
        sender.send();

        Wxproducer wxproducer=new Wxproducer();
        Sender sender1= wxproducer.createSend();
        sender1.send();
    }
}
